package djboom.materials.events {
    import flash.events.Event;

    /**
     * .
     * <br>
     * 
     * @author DJ BooM 
     * @since 14.01.2010
     * 
     */

    public class MainPaneEvent extends Event {

        // ----------------------------------------------------------------------------
        // Свойства класса.
        // ----------------------------------------------------------------------------

        public static const EXIT:String = "exitWork";
        
//        private var _songID:int;
//        private var _volume:Number;
        
        // ----------------------------------------------------------------------------
        // Конструктор.
        // ----------------------------------------------------------------------------

        public function MainPaneEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false) {
            super(type, bubbles, cancelable);
        }

        // ----------------------------------------------------------------------------
        // Публичные методы.
        // ----------------------------------------------------------------------------

        override public function clone():Event {
            var e:MainPaneEvent = new MainPaneEvent(this.type, this.bubbles, this.cancelable);
//            e.songID = this.songID;
//            e.volume = this.volume;
            return e;
        }
    }
}